package com.mutual.reins.danger.service.impl;

import com.mutual.reins.danger.entity.PrpReinsVerify;
import com.mutual.reins.danger.mapper.PrpReinsVerifyMapper;
import com.mutual.reins.danger.service.IPrpReinsVerifyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author CodeGenerate
 * @since 2021-04-20
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class PrpReinsVerifyServiceImpl extends ServiceImpl<PrpReinsVerifyMapper, PrpReinsVerify> implements IPrpReinsVerifyService {
    @Resource
    private  PrpReinsVerifyMapper prpReinsVerifyMapper;



    /**
     * 按照业务号查询一条
     *
     * @param cerTiNo 业务号
     * @return 返回该对象
     */
    @Override
    public PrpReinsVerify findByCerTiNo(String cerTiNo) {
        return prpReinsVerifyMapper.findByCerTiNo(cerTiNo);
    }
}
